﻿using System.Windows.Automation;

namespace QuickUIT
{
    /// <summary>
    /// Represents a set of search criteria used to match a <see cref="AutomationElement"/>. 
    /// </summary>
    public interface IAutomationElementSearchCriteria
    {
        int Index { get; set; }
        void Add(IAutomationElementSearchCondition condition);
        void Add(IAutomationElementSearchCondition condition, int priority);
        bool Matches(AutomationElement element); 
    }
}
